//
//  FieldObservationDB.h
//  Tazama NGO
//
//  Created by jsheriff on 3/4/11.
//  Copyright 2011 The MITRE Corporation. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "FieldObservation.h"

@interface FieldObservationDB : NSObject {
	NSLock *databaseLock;
	NSMutableArray *fieldObservationList;
    NSString *databasePath;
}

@property (nonatomic, retain) NSMutableArray *fieldObservationList;

-(void) addNewFieldObservation:(FieldObservation *)fieldObservation;
-(void) initWithTestData;
-(void) initWithTestDataLibya;
-(void) initFromPath:(NSString *)path;
- (FieldObservation *)getFieldObservationWithId:(CFUUIDRef)uuid;

+(FieldObservationDB *)sharedInstance;

@end
